package com.yixun.qfbao.job;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.yixun.qfbao.service.WeappFormidService;

/**
 * 清除微信小程序消息FormId
 */
@Component
public class CleanFormIDJob {
	private static Logger logger = LoggerFactory.getLogger(CleanFormIDJob.class);

	@Autowired
	private WeappFormidService weappFormidService;

	@Scheduled(cron = "0 0 1 * * ?")
	public void cleanFormID() {
		weappFormidService.cleanFormID();
	}
}
